<?php
session_start();
session_destroy();
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>E-Groupware sisfor</title>
<meta name="description" content="Medical website">
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style5 {color: #DEDEDE}
.style6 {color: #FFFF00}
-->
</style>
</head>

<body>
<table width="750" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
  <tr>
    <td><img src="images/logo.jpg" width="750" height="204"></td>
  </tr>
  
  <tr>
    <td height="100%"><table width="750" height="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="100%" valign="top"><table width="490" height="420" border="1">
          <tr>
            <td width="106" height="179"><p>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                <param name="movie" value="button12.swf">
                <param name="quality" value="high">
                <embed src="button12.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
              </object>
</p>
              <p>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22" title="PROFIL">
                  <param name="BGCOLOR" value="">
                  <param name="movie" value="button3.swf">
                  <param name="quality" value="high">
                  <embed src="button3.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
                </object>
              </p>
              <p>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                  <param name="movie" value="button9.swf">
                  <param name="quality" value="high">
                  <embed src="button9.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
                </object>
              </p>
              <p>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                  <param name="movie" value="button10.swf">
                  <param name="quality" value="high">
                  <embed src="button10.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
                </object>
              </p>
              <p>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                  <param name="BGCOLOR" value="">
                  <param name="movie" value="button7.swf">
                  <param name="quality" value="high">
                  <embed src="button7.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
                </object>
              </p>
              <p align="center">
			  <a href="logout.php">Logout</a>
			 
            <td width="368"><table width="298" border="1" align="center">
              <tr>
                <th width="98" scope="col"><div align="center"><span class="style6">JUDUL</span></div></th>
                <th width="184" scope="col"><div align="left">
				<form action="news1.php" method="post" name="update">
                    <label>
                      
                        <div align="left">
                          <input type="text" name="DK9" id="DK9">
                          </div>
                    </label>
                  </div></th>
              </tr>
              <tr>
                <th scope="row"><div align="center"><span class="style6">ISI</span></div></th>
                <td><div align="center">            
                    <label>
                      <div align="left">
                        <textarea name="DK10" cols="50" rows="5" id="DK10"></textarea>
                      </div>
                    </label>
                  </div></td>
              </tr>
              <tr>
                <th scope="row"><div align="center"></div></th>
                <td><div align="center">
                    <label>Update
                      <input class="submit"  type="submit" name="name" value="Update">
                      </label>
                  </form>
                  </div></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="262" height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td class="r-title"> </td>
          </tr>
          <tr>
            <td width="261" height="100%" bgcolor="#666666" class="r-cont"><p align="center">&nbsp;</p>
			</p>
              <p align="center">              </p>
              <p align="center" class="style5">
			  <?php
include'clock.php';
?>
<?php
include'cal.php';
?></p>
              <p align="center" class="style5">&nbsp;</p></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="1" bgcolor="#b3b5a8" class="bottom-menu">&nbsp;</td>
  </tr>
  <tr>
    <td height="1" class="bottom_addr">&nbsp;</td>
  </tr>
</table>

</body>
</html>
<?
if ($_POST)
{
$knek= mysql_connect ("localhost","root","") or die ("koneksi gagal");
mysql_select_db("dbtgs1",$knek);
	$dbmask = "INSERT INTO berita VALUES ('','$_POST[DK9]','$_POST[DK10]')";
	$dbgakama = mysql_query($dbmask);
	$conet = mysql_close();
//	header("Location:saran.php");
}
?>

